﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="HappyClubUpdForm.aspx.cs" Inherits="App_Input_HappyClubUpdForm"
    Title="兴趣小组登记" %>

<%@ Register Assembly="ShpmCommon" Namespace="Shpm.System.Web.Control" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table width="100%">
        <tr>
            <td>
                <table class="table_border_line">
                    <tr>
                        <td align="left" colspan="6" >
                        <script language="javascript">
                                        (new TitleBar('SearchBar', '兴趣小组登记')).showBar();
                            </script>
                        </td>
                    </tr>
                </table>
                
                <cc1:ComValidator ID="ComValidator1" runat="server" CheckItems-Capacity="4" Visible="false">
                    <cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="txtInterestName">
                      <cc1:ComAbsParamsAttribute Parameter="俱乐部名称" />
                    </cc1:CheckRequiredAttribute>
                     <cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="txtLeadId">
                      <cc1:ComAbsParamsAttribute Parameter="部长" />
                    </cc1:CheckRequiredAttribute>
                    <cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="dropInterestType">
                      <cc1:ComAbsParamsAttribute Parameter="俱乐部分类" />
                    </cc1:CheckRequiredAttribute>
                     <cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="txtBeginDate">
                      <cc1:ComAbsParamsAttribute Parameter="成立日期" />
                    </cc1:CheckRequiredAttribute>
                    <cc1:CheckDateAttribute Code="E0037" ControlToValidator="txtBeginDate" DataFormat="yyyy/mm/dd">
                        <cc1:ComAbsParamsAttribute Parameter="成立日期" />
                    </cc1:CheckDateAttribute>
                     
                </cc1:ComValidator>
                
                <table class="table_border_line" style="background:ffffff">
                    <tr>
                        <td style="width: 5px; height: 24px"></td>
                        <td align="left" class="list_data_bg_left" style="width: 9px">
                            &nbsp;</td>
                        <td align="left" class="list_data_bg_left" style="width: 107px">俱乐部编号：</td>
                        <td align="left" style="width: 25%">&nbsp;<asp:Label ID="labInterestId" runat="server"></asp:Label></td>
                        <td align="left" style="width: 12px">
                        </td>
                        <td align="left" style="width: 148px"></td>
                        <td align="left" style="width: 25%"></td>
                        <td></td>
                    </tr>
                    <tr>
                        <td style="width: 5px; height: 24px"></td>
                        <td align="left" class="list_data_bg_left" style="width: 9px; height: 24px">
                            <font color="#ff7300">*</font></td>
                        <td align="left" class="list_data_bg_left" style="width: 107px; height: 24px;">俱乐部名称：</td>
                        <td align="left" style="width: 25%; height: 24px;">&nbsp;<asp:TextBox ID="txtInterestName" runat="server"
                            MaxLength="10" Width="90px"></asp:TextBox></td>
                        <td align="left" style="width: 12px; height: 24px">
                            <span style="color: #ff7300">*</span></td>
                        <td align="left" style="width: 148px; height: 24px;">&nbsp;俱乐部分类：</td>
                        <td align="left" style="width: 25%; height: 24px;">&nbsp;<asp:DropDownList ID="dropInterestType" runat="server" DataTextField="Content" DataValueField="DictNo">
                        </asp:DropDownList></td>
                        <td style="HEIGHT: 24px"></td>
                    </tr>
                    <tr>
                        <td style="width: 5px; height: 24px;">&nbsp;</td>
                        <td align="left" class="list_data_bg_left" nowrap="nowrap" style="width: 9px">
                            <span style="color: #ff7300">*</span></td>
                        <td style="WIDTH: 107px" align="left" nowrap class="list_data_bg_left">
                            部长：</td>
                        <td style="" align="left" nowrap>&nbsp;<asp:TextBox ID="txtLeadId" runat="server"
                            MaxLength="12" Width="90px"></asp:TextBox>
                            <asp:TextBox ID="txtLeadName" runat="server"
                            MaxLength="10" Width="65px" BackColor="#E0E0E0" BorderColor="#E0E0E0"  contentEditable="false"></asp:TextBox>
                            
                            <a  href="#" onclick="javascript:popupMemberSearch('<%=txtLeadId.ClientID%>', '<%=txtLeadName.ClientID %>' );">
                             <img id="searchImg" runat="server" src="../../images/search.jpg" border="0" />
                        </a>
                           </td>
                        <td align="left" nowrap="nowrap" style="width: 12px">
                            <span style="color: #ff7300">*</span></td>
                        <td align="left" style="WIDTH: 148px" nowrap>&nbsp;成立日期：</td>
                        <td align="left" style="" nowrap>&nbsp;<asp:TextBox ID="txtBeginDate" runat="server"
                            MaxLength="10" Width="90px" onfocus="new Calendar(1900,2015,0,null).show(this);"></asp:TextBox>&nbsp;</td>
                        <td style=""></td>
                    </tr>
                    <tr>
                        <td style="width: 5px; height: 24px">&nbsp;</td>
                        <td class="list_data_bg_left" style="width: 9px; height: 24px">
                        </td>
                        <td style="WIDTH: 107px" align="left" nowrap class="list_data_bg_left">
                            副部长：</td>
                        <td style="" align="left" nowrap>&nbsp;<asp:TextBox ID="txtAssistantId" runat="server"
                            MaxLength="12" Width="90px"></asp:TextBox>
                            <asp:TextBox ID="txtAssistantName" runat="server"
                            MaxLength="10" Width="65px" BackColor="#E0E0E0" BorderColor="#E0E0E0"  contentEditable="false"></asp:TextBox>
                            
                            <a  href="#" onclick="javascript:popupMemberSearch('<%=txtAssistantId.ClientID%>', '<%=txtAssistantName.ClientID %>' );">
                             <img id="Img3" runat="server" src="../../images/search.jpg" border="0" />
                        </a>
                           </td>
                           
                           
                
                        <td style="width: 12px; height: 24px">
                        </td>
                        <td style="width: 148px; height: 24px;">&nbsp;管家：</td>
                        <td style="width: 414px; height: 24px;">&nbsp;<asp:TextBox ID="txtEmployeeId" runat="server" MaxLength="4" Width="90px"></asp:TextBox>
                            <asp:TextBox ID="txtEmployeeName" runat="server"
                            MaxLength="10" Width="65px" BackColor="#E0E0E0" BorderColor="#E0E0E0"  contentEditable="false"></asp:TextBox>
                            
                            <a  href="#" onclick="javascript:popupEmployeeSearch('<%=txtEmployeeId.ClientID%>', '<%=txtEmployeeName.ClientID %>' );">
                             <img id="Img2" runat="server" src="../../images/search.jpg" border="0" />
                        </a></td>
                        <td style="HEIGHT: 24px"></td>
                    </tr>
                    <tr>
                        <td style="height: 24px; width: 5px;"></td>
                        <td class="list_data_bg_left" style="width: 9px">
                        </td>
                        <td class="list_data_bg_left" style="width: 107px">备注：</td>
                        <td style="height: 24px;" colspan="4">&nbsp;<asp:TextBox ID="txtMemo"
                            runat="server" Width="99%" Rows="3" TextMode="MultiLine"></asp:TextBox></td>
                        <td style=""></td>
                    </tr>
                    <tr>
                        <td colspan="8" align="center"></td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="center" style="">&nbsp;
                &nbsp;&nbsp;<asp:Button ID="btnOk" runat="server" Text="  登 记  " Height="22px" Width="89px"
                    CssClass="button" OnClick="btnOk_Click" OnClientClick="return confirm('是否登入数据？')"/>&nbsp;
                <asp:Button ID="btnDel" runat="server" Text="  删 除  " Height="22px" Width="89px"
                    CssClass="button" OnClientClick="return confirm('是否删除数据？')"
                    OnClick="btnDel_Click" />&nbsp;
                <asp:Button ID="btnBack" runat="server" Text="  返 回  " Height="22px" Width="89px"
                    CssClass="button" OnClick="btnBack_Click" /></td>
        </tr>
    </table>
    <asp:HiddenField ID="hidmemberName"  runat="server"/>
    <asp:HiddenField ID="hidAssistantrName"  runat="server"/>
    <asp:HiddenField ID="hidEmployeeName"  runat="server"/>
</asp:Content>
